home *** CD-ROM | disk | FTP | other *** search
/ APDL Eductation Resources / APDL Eductation Resources.iso / programs / electronic / rlab / !RLaB / help_a_i / fread < prev    next >
Encoding:
Text File  |  1994-07-19  |  494 b   |  25 lines

  1. fread:
  2.  
  3. Syntax:    fread ( FILENAME, NITEMS, TYPE )
  4.     fread ( FILENAME, NITEMS, TYPE, SWAPB )
  5.  
  6. Description:
  7.  
  8.     fread reads NITEMS of type TYPE from FILENAME (a string) and
  9.     returns the result in a numeric matrix.
  10.  
  11.     NITEMS    Number of objects of type TYPE to read from FILENAME.
  12.  
  13.     TYPE:    "char"
  14.         "unsigned char"
  15.         "short int"
  16.         "unsigned int"
  17.         "int"
  18.         "float"
  19.         "double"
  20.  
  21.     SWAPB:    0    Do not swap bytes in a word (default).
  22.         1    DO swap the bytes in each word.
  23.  
  24. See Also: FILES, fseek, close, open, write
  25.